//
//  JKStarScoreViewController.m
//  JKStar
//
//  Created by 王冲 on 2018/4/6.
//  Copyright © 2018年 希爱欧科技有限公司. All rights reserved.
//

#import "JKStarScoreViewController.h"
#import "JKStarScoreView.h"
@interface JKStarScoreViewController ()

@property(nonatomic,strong) JKStarScoreView *jKStarScoreView;

@end

@implementation JKStarScoreViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"打分";
    self.edgesForExtendedLayout = UIRectEdgeNone;
    self.view.backgroundColor = [UIColor whiteColor];
    

    self.jKStarScoreView.guwen = ^(NSString *name){
        
        NSLog(@"%@",name);
        
    };
    [self.view addSubview:self.jKStarScoreView];
}

-(JKStarScoreView *)jKStarScoreView{
    
    if (!_jKStarScoreView) {
        
        _jKStarScoreView = [[JKStarScoreView alloc]initWithFrame:CGRectMake(100, 100, 182, 32)];
        _jKStarScoreView.backgroundColor = [UIColor whiteColor];
        _jKStarScoreView.spacing = 0.15;
    }
    return _jKStarScoreView;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end

